import request from '@/utils/request'

// 查询失业人员列表
export function listUnemployed_person(query) {
  return request({
    url: '/report/unemployed_person/list',
    method: 'get',
    params: query
  })
}

// 查询失业人员详细
export function getUnemployed_person(id) {
  return request({
    url: '/report/unemployed_person/' + id,
    method: 'get'
  })
}

// 新增失业人员
export function addUnemployed_person(data) {
  return request({
    url: '/report/unemployed_person',
    method: 'post',
    data: data
  })
}

// 修改失业人员
export function updateUnemployed_person(data) {
  return request({
    url: '/report/unemployed_person',
    method: 'put',
    data: data
  })
}

// 删除失业人员
export function delUnemployed_person(id) {
  return request({
    url: '/report/unemployed_person/' + id,
    method: 'delete'
  })
}
